package org.dromara.crawler;

import com.mongoplus.config.MongoPlusAutoConfiguration;
import com.mongoplus.config.OverrideMongoConfiguration;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.metrics.buffering.BufferingApplicationStartup;
import org.springframework.context.annotation.Import;

/**
 * 爬取模块
 *
 * @author geovis
 */
@EnableDubbo
@SpringBootApplication
@Import(MongoPlusAutoConfiguration.class)
//@MongoMapperScan("org.dromara.crawler.mongomapper")
public class GeovisCrawlerApplication {
    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(GeovisCrawlerApplication.class);
        application.setApplicationStartup(new BufferingApplicationStartup(2048));
        application.run(args);
        System.out.println("(♥◠‿◠)ﾉﾞ  数据爬取模块启动成功   ლ(´ڡ`ლ)ﾞ  ");
    }
}
